package com.gxa.customer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.common.pojo.AppUser;
import com.gxa.common.pojo.AppUserHouse;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface AppUserHouseMapper extends BaseMapper<AppUser> {


    /**
     * 添加房产的方法
     * @param appUserHouse
     */
    public void insertAppUserHouse(AppUserHouse appUserHouse);


    /**
     * 通过用户id查询所有的房产信息
     * @param appUserId 用户id
     * @return
     */
    public List<AppUserHouse> selectAllHouseById(Long appUserId);


}
